package org.book.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.book.bean.Borrow;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p style="color:red">
 *  服务类
 * </p>
 *
 * @author dancun
 * @since 2021-03-05
 */
public interface IBorrowService extends IService<Borrow> {

    public boolean borrowbook(Borrow borrow);

    public boolean retturnbook(Borrow borrow) throws Exception;

    public List<Borrow> listBorrow(QueryWrapper wrapper);

}
